package db

type Pager struct {
	Page       int `json:"page"`
	PageSize   int `json:"page_size"`
	TotalCount int `json:"total_count"`
}

type Sorting struct {
	OrderBy string `json:"order_by"`
	Sort    string `json:"sort"`
}

type Query struct {
	Param      *map[string]interface{} `json:"param"`
	Column     *[]string               `json:"column"`
	Pager      *Pager                  `json:"pager"`
	Sorting    *Sorting                `json:"sorting"`
	FetchFirst bool                    `json:"fetch_first"`
}
